managed.opCast

Casts an array of classes to a more generic class type

  1. managed!(const(Type)) opCast()
  2. managed!(immutable(Type)) opCast()
  3. managed!(CopyConstness!(Type, Type2)) opCast()
  4. managed!(CopyConstness!(Type, Type2)) opCast()
  5. managed!(CopyConstness!(Type, Type2)[]) opCast()
    struct managed(Type)
    static if(!(is(Type == class) || is(Type == interface)))
    static if(is(Type : TypeIf_Class[], TypeIf_Class) && (is(TypeIf_Class == class) || is(TypeIf_Class == interface)))
    managed!(CopyConstness!(Type, Type2)[])
    opCast
    (
    Type2 : managed!(Type2[])
    )
    ()
    if (
    is(Type : Type2)
    )
  6. managed!(CopyConstness!(Type, Type2)) opCast()
  7. managed!(CopyConstness!(TypeIf_StructBasic, Type2)[]) opCast()

Meta